func net/http/pprof.serveError

12 uses

	net/http/pprof (current package)
		pprof.go#L133: func serveError(w http.ResponseWriter, status int, txt string) {
		pprof.go#L159: 		serveError(w, http.StatusInternalServerError,
		pprof.go#L185: 		serveError(w, http.StatusInternalServerError,
		pprof.go#L254: 		serveError(w, http.StatusNotFound, "Unknown profile")
		pprof.go#L278: 		serveError(w, http.StatusBadRequest, `invalid value for "seconds" - must be a positive integer`)
		pprof.go#L283: 		serveError(w, http.StatusBadRequest, `"seconds" parameter is not supported for this profile type`)
		pprof.go#L291: 		serveError(w, http.StatusBadRequest, "seconds and debug params are incompatible")
		pprof.go#L296: 		serveError(w, http.StatusInternalServerError, "failed to collect profile")
		pprof.go#L307: 			serveError(w, http.StatusRequestTimeout, err.Error())
		pprof.go#L309: 			serveError(w, http.StatusInternalServerError, err.Error())
		pprof.go#L317: 		serveError(w, http.StatusInternalServerError, "failed to collect profile")
		pprof.go#L327: 		serveError(w, http.StatusInternalServerError, "failed to compute delta")